#!/usr/bin/env bash
# Copyright (C) 2023 - 2030 Teddysun <vm@vmosc.com>

#删除虚拟内存
function UlSwap(){
    swapoff -v /home/swap
    rm -rf /home/swap  
}


function caddy(){
    systemctl stop caddy
    rm -rf /usr/vmosc/
    #rm -f /usr/lib/systemd/system/caddy.service
    #rm -f /usr/lib/systemd/system/caddy-api.service
    rm -rf ~/.local/share/caddy/
    rm /etc/systemd/system/multi-user.target.wants/caddy.service
}